package com.gy.universities.dao;
import com.gy.universities.entity.StudyArea;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StudyAreaMapper {
	//根据id查询
	public StudyArea getStudyAreaById(@Param(value = "id") String id)throws Exception;

	public List<StudyArea>	getStudyAreaListByMap(Map<String,Object> param)throws Exception;

	public Integer getStudyAreaCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertStudyArea(StudyArea studyArea)throws Exception;

	public Integer updateStudyArea(StudyArea studyArea)throws Exception;

	public Integer deleteStudyAreaById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteStudyArea(Map<String,List<String>> params);

}
